package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;


/**
 * @Date 2020-5-21
 */

@NoArgsConstructor
public enum IsCreatedBillEnum implements IBaseEnum<Integer> {
    NO(0, "未生成"),
    YES(1, "已生成");

    private int value;
    private String desp;

    IsCreatedBillEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

}
